using System;
using System.Collections.Generic;
using System.Text;

namespace DTO
{
    public class TieuChiTimSachCrt
    {
        #region Attributes
        private string tensach;
        private string ngonngu;
        private string tacgia;
        private string theloai;
        private bool CheckedTensach;
        private bool CheckedNgonngu;
        private bool CheckedTacgia;
        private bool CheckedTheloai;

        private string strSQL;
        #endregion Attributes

        #region Properties
        public string StrSQL
        {
            get { return strSQL; }
            set { strSQL = value; }
        }

        public string TenSach
        {
            get{return tensach;}
            set {tensach = value;}
        }

        public string NgonNgu
        {
            get { return ngonngu; }
            set { ngonngu = value; }
        }

        public string TacGia
        {
            get { return tacgia; }
            set { tacgia = value; }
        }

        public string TheLoai
        {
            get { return theloai; }
            set { theloai = value; }
        }

        public bool CheckedTenSach
        {
            get { return CheckedTensach; }
            set { CheckedTensach = value; }
        }

        public bool CheckedNgonNgu
        {
            get { return CheckedNgonngu; }
            set { CheckedNgonngu = value; }
        }

        public bool CheckedTacGia
        {
            get { return CheckedTacgia; }
            set { CheckedTacgia = value; }
        }

        public bool CheckedTheLoai
        {
            get { return CheckedTheloai; }
            set { CheckedTheloai = value; }
        }
        #endregion Properties

        public TieuChiTimSachCrt()
        {
            TenSach = "";
            NgonNgu = "";
            TacGia = "";
            TheLoai = "";

            CheckedTenSach = false;
            CheckedNgonNgu = false;
            CheckedTacgia = false;
            CheckedTheloai = false;
        }
    }
}
